import request from "@/utils/request";

export const getTask = (id: string) => {
  return request({
    url: `/api/app/task/${id}`,
    method: "get",
  });
};

export const getTaskPaged = (params: any) => {
  return request.get("/api/app/task/paged", {
    params: params,
  });
};
